home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.3 KB | 31 lines | [TEXT/GEOL] |
- Item 2991955 2-Aug-90 17:47PDT
-
- From: FREDENBURG Fredenburg, Timothy,PRT
-
- To: MACDTS Macintosh Developer Tech Supt
- MACAPP.TECH$ MacApp Technical
- KNEPPER Knepper, Christopher
- ROBSON Robson, Jack
- MOOF Rollin, Keith A
-
- Sub: More on ViewEdit bug
-
- My original message:
-
- ViewEdit 1.0 crashed on me about 10 seconds into the first time I used it. The
- crash is repeatable. Create a new resource. Click on the cross cursor. Drag
- out a rectangle. Undo. Drag out a rectangle. Boom.
-
-
- Several people wrote back that they couldn't reproduce the bug. The bus error
- occurs if you have an odd value at address 0 (which The Debugger was doing for
- me automatically). What's happening is that ViewEdit is doing a DisposControl
- on a control whose owner is either not a window or a window that has a nil
- update region. It's hard to tell which; the owner is allocated on the stack
- and is not in the window list. The DisposControl or something it calls does an
- InvalRgn which calls UnionRgn with nil for two of its RgnHandle arguments which
- then gets a bus error.
-
- Tim
-
-